﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.EntityFrameworkCore;
using Volo.Abp.Data;

namespace WenABP.Customer.EntityFrameworkCore.Migration
{
    [ConnectionStringName("CustomerConnString")]
    public  class CustomerDbMigrationContext:AbpDbContext<CustomerDbMigrationContext>
    {
        public CustomerDbMigrationContext(DbContextOptions<CustomerDbMigrationContext> options) : base(options)
        { }

        protected override void OnModelCreating(ModelBuilder modelBuilder)
        {
            base.OnModelCreating(modelBuilder);
            modelBuilder.ConfigCustomerStore();
        }
    }
}
